package com.framework.modules.dataview.dao;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.framework.modules.dataview.entity.ViewUserPostsListEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * VIEW
 * 
 * @author MIT
 * @email litmiss@gmail.com
 * @date 2020-10-24 12:44:30
 */
public interface ViewUserPostsListDao extends BaseMapper<ViewUserPostsListEntity> {

    /**
     *
     * @param page 翻页对象，，传递参数 Page 即自动分页
     * @return
     */
    List<ViewUserPostsListEntity> getViewUserPostsList(Pagination page, @Param("spacePost") Map<String,Object> para);
	
}
